Update tool.rb