send config to template