Updating build script to version the output