make Discovery base URL configurable