A couple of draft scripts

These were hanging around for quite a long, waiting to be refactored.
It now appears I'm not going to refactor them, so checking in for someone to use them as a reference.