Create generate.tpl