making this work correctly on PCF
this now works with Eureka, Config Server, Doge and Account service.