update build script command order.