Hi Brink!
Recently I upgraded from Windows 10 to Windows 11 which gave me a problem with your script (working just fine with Windows 10 thanks). I don't know if it's Windows 11 related but I solved...