added support for daemon service wrapper