migrate old config files