Generating multiple schedules

Goodday Dynamo users,

I currently ran into a problem when i’m trying to generate schedules.
when i run the script a first time everything works just fine.
When i run it a second time, after restarting, my script doesn’t create a new schedule like it does in the first run. It somehow generates the name from the first run.

First run:

Second run:

Anyone an idea on how this could happen?


That is a funny one, if you run it through player does it run ok?