all the histogram plotting is in one script now