Modify config file