Update generate.py

minifiy default to True