Updated for simpledaemon 1.4.1

Added ability to parse arguments