updated load-db script to load history