Add a script to dump out database