updated to use the v1.7 of the template compiler