changes for consul 0.3.1