Note that these scripts are written for Mavericks.