update to use new daemonprocess class