Added executable flag to get_histogram.