Update template.lua

Added licence