When you use transform.kix to compress files you can gain a lot if your scripts
are large.

My main logonscript has a size of 45.421 bytes, after compression the size
is 30.448 bytes. (No blank lines, no comments and no indents)

Still working, but very difficult to read

I keep the commented script in a file without extension, all changes are made
in this file, after changes I transform it to a file with extension .kix and
copy the .kix script to netlogon-share.

I have added syntax-checking for missing labels in original post