Minor mod to merge script

Concerned about size of transaction of only commits once per source
database - if the source DB is very large the transaction mail fail due
to memory issues.