Is there some compelling reason why you are looking to 'roll your own' as opposed to calling the module from your script? If you had it working why break it? hth jg _____________________________________________________ Ain't no time to hate! Barely time to wait! ~RH