change config files to templates