Add option to write default config file