Removing the config folder reference when setting backup copy of config file during write_config method for #855