changed clone behavior to automatically save on clone, and added histogram.html for report generation