change APP_NAME into NAME