Modified build script for use with version and buildnumbers