run combine_templates