modifies config file