adds config file for mr