chmoded viewdoc.sh