miscellaneous helpful scripts