modified generateFixture.py