more updates to scanviewer