Fix integrate.rb