Add script for merging the same tables in remote databases