add working Histogram script