merging database loading scripts