pass config into checks class