Miscellaneous scripts I find useful