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