add daemon and curl program