returned run.py to production mode