speed up build script