adds some histogram-saving scripts
adds a batch histo-saver for the full db top n for n = 1-10