More improvements to provenance

- Add a python script to analyze record.
- Add enough send information to discriminate between things.