add consul support