adding the ability to run this as a daemon via a plist file