add category_generator.rb modified