Changes for new environment under gunicorn/nginx