miscellaneous, useful scripts