Made serviceURL and serviceURLHttps configurable