Zwift launcher causes script error on Windows 10

Hi all,
I found a way to avoid the script error. It was important for me that “it just works” as I would like to use the Zwift-Login script from zwifthacks.com. Background is that we are using Zwift with more than one rider and need to logon and logoff frequently.

The script error described above does not appear when Windows 10 runs in US-English as main language. I had it in German orgiginally.

Cheers,
Frank