Modify configuration file