use stdout stderr for build script