DJBP-8 | proper prod settings: fix PROJECT_DIR bug, refactoring