hah!
the test I did with was looking at the script and it looked fine to me.

now as you asked, I copied it to file and tested and yes, got the log-file in there.
_________________________
!

download KiXnet