Mako templates
Switched to mako templates