The whole script will need a complete re-write in order to run it locally. You should also write it in such a way that it will be OS-agnostic and run locally under any Windows OS. Make use of the build-in macros to differentiate between different OSes.
_________________________
There are two types of vessels, submarines and targets.