Final fix  to build script to complete the build process