add crab3 merging script