changed parameters for generate.rb