Edits to template files