use arguments to select cfstats/cfhistograms. enable piping.