Rm monkey patching
Always Assume Dev mode if not run from run.py