clean up the build script