Miscellaneous tools and scripts