also if you choose to use the udf, you need to also somehow include the udf code in your script.
see faq forum for thread "how to use UDFs"
_________________________
!

download KiXnet