removes APP_DIR constant