Comments on viewscript.php

Commented on some stuff you should do.