fixed generate_30000.py