Added ability to override service url