minor changes to environment.py to work with Sauce/Jenkins

a couple of configuration changes that I missed the first time around. These are needed to run the OAH Jenkins job
added context for the setup function