Still trying to conver it in daemon