Viewer shell script