Add raw data ouput and change raw data link on query page.