Update template.lua

more to come