If you want to make sure that specific environment variables are printed to the output file then this can be done on three levels by adding the (case sensitive) name of the variable to a .pmtmrc file with one variable name per line. The .pmtmrc files can be located in: