Amend configuration file