Rename generate.py~ to generate.py