Adding scratch folder for storing histograms