Updated the build script