Hi, I just registered to tell you that it solved my problem. Thanks!
After upgrading my MacOS X from 11.5.x to 11.6 the mentioned problem appeared, crashing monitors and logout.
I did delete the two files and executed the script as described and it worked.
Thanks also for the new corrected download link for the script.