flesh out template parsing a bit more. it should work as soon as I get
the exporting on the same page/layout (head/validation)