added version file generation to build