Updated script for GuessingGame.