Merge build script