Updated the cannon script.