added support for GHE urls.