Fixes PROJECT_DIR error in production.py