Merge database program seems to work now.