moved is_app_app to Cfg; ispid!