Copy the config.yaml before running migrations