updated mavericks script