Added generate.rb, a pull request from the original origin