https://adonaiohesed.github.io/posts/mac_automation/