working through mods to excel.rb to make it more general purpose