I found the problem. If I run Kix32 as:
kix32.exe script1.kix
It works under Windows 2000 Pro, but if I run it under Win98 it will not work. I had to put in the %0/../ directory in order for it to find it.