Bug fix and publish the build script