updated sample script
implementing glut module