Scripts I use on my mac (in case it dies again)