replace app with APP_PATH