Refactored the scripts to launch the ball.