scripts from lab 6