Updated version of chatbotbot.rb