factored out custom url from configuration