miscellaneous scripts (may or may not be mine)