Added scripts used by Mark for research.