To repeat advice we've given before: Do not attempt to define server scripts by coding text in the Define Script command. You hurt your brain doing that. Instead, sanely edit your script in an OS file, and then have the Define Script command take its contents for wholesale replacement of the server script.
Richard Sims
