hook up the config switch