updated the script to use the build number from the environment