added script for viewing