Added some studip daemonlogic