Add daemon support