update lab 9 script