add config_found info
moved flows into the lib