in reply to Re^10: global var
in thread global var

Changed them all. No difference.

No difference to what ? Does the test script work when opened with browser. If not what error do you get

Word wrap is just a viewing option, it has no effect on the file