adding versioning to the template.