use new daemon code