check daemon script