minor corrections to make_production_hist.py