Change static $returl_url logic