Script for version generation