script to produce Analysis_Sample.txt and Analysis_Cuts.txt