Fixed copying the config file