Added a trace flag to the environment, enabling or disabling trace output