moving the config handler out of the main set