Added a switch to start the bot and stop it on collisions.