Merge script