Switch to use consul