added merging script