save SingleGenerator.py