Change the order of the config functions