Add general arrival and departure scripts.

These are probably very specific for me, but others may find them
useful as templates or give them ideas.