config file generator