2/write sample config file