TR to TP script - Still working?

Apologies if this isn’t allowed, but I assume TR is aware of this… It does make things much easier if you use TR and TP for various reasons. I have used this many times in the past, but it doesn’t appear to be working anymore.

https://forum.slowtwitch.com/forum/Slowtwitch_Forums_C1/Triathlon_Forum_F1/Trainerroad_training_plan_to_Trainingpeaks_P6790945/

I basically get the same error as the poster at the end of the ST thread. If someone attempts to test, just be aware the code from Step 9 has to be before the output from step 8.

Does this not work anymore? Any help would be appreciated.