I think you activated the simulation mode. Then the script doesn't create any plays.
Checkout line 31. It should be commented:
Code: Select all
' simu=True 'Activate this for report generation
Code: Select all
' simu=True 'Activate this for report generation