One more experiment in generate.py