scp'd from Shannon mostly tweaks, added AUC, rename and peak counts