Adds APP_PATH parameter

Added APP_PATH so app can be relocated