Added tmpDir to Env
Merge remote-tracking branch 'origin/sr' into sr