Fix GPLv3 in generate.py