Allow environment to be set when using manage.py