script to help aggregate TRIMP scores