beginning the merge script