insert header comment into generate.rb