Update extract.rb