Complete rewrite and now use terminal-notifier for Mac OS Notifier suppoert