better building, template files are now inline