Change order of config loading