added a script for merging databae collections