Add referer and xml return