Miscellaneous scripts I'm playing with...