Improved spearmint generation script, with some info on how to use it in the file.