Writing out files
Updating template formatting