Changed the script for the movement of the ball