added merging scripts