I updated DirectX on Windows 2000 and it works now.

Go figure.

I still won't use the script though.