added backup for the config file