now making backup before saving config