MacMini sleep logging script