version generating script