renamed discoveryUrl to url to match js change