rename app_dir to APP_PATH