Jeez, you should really learn to give complete answers and provide as much DETAIL as possible.

If you run a script with DEBUG ON then there should be debugging commands available in the first line of the console. If nothing comes up then it indicats that the script did not run at all.

How do you call the script? As I said earlier, try with a smaller script and expand piece-by-piece.
_________________________
There are two types of vessels, submarines and targets.