Useful scripts for OS X