directory generator at the template.