Change config file to template