Also, to answer your other question - You need KIX32.EXE or WKIX32.EXE and your script. The EXE is used to run your script, and utilize your UDF, log and/or return results. Starting with 4.0, UDFs (or FUNCTION..ENDFUNCTION) are supported), so 4.21 will support this just fine.

There are a number of topics on how to deploy KIX32/WKIX32 to the client -

KiX upgrade: what are those new features? can upgrade be done without any danger?

Re-Write of the KIX32.EXE Deployment tool

kix421update.exe

wkix421update.exe

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's