A long and probably ill organized script used to analyze data from CoGe