Updated returned URL to return string always