refine the build script