Lab 6 scripts