add viewerURL as result param to be sent to front end.