updated the build script