use sed to modify the config once