finished very very crude script to produce summary of nightly accelerometer activity