thor.rb modifications.