Day 2 Part 1 - Script restructuring