Revised code in singbot.rb so that the runner could work properly