add the macro to do the final plots on the histograms