Miscellaneous scripts and tools