refine build script