Moved urlBuilder setup to configure function so we don't need to cache a previous value to determine whether or not we should recreate it.