Embed program version and database version in the generated script