Restore mkHist.py and editing write_cuts.py.