MDL-37822 move the default code above the set_config to not make the code less confusing