check for configs earlier