Add version tag to template

untested, but intention should be clear :)