What is the problem with the timing logic? There is no logic at all, the script just sleeps for 1 minute (60 seconds) and then goes back to the beginning.
_________________________
There are two types of vessels, submarines and targets.