Add APP_PATH to support prefix