miscellaneous scripts, mostly perl