Added automated version generation to version.lua