added driver.rb, fixed a previous bug.