Updated Script with Print Statements