changes to the bot script