hw3 script