improved the build script.