Important! You need to use Thread.stop(), not Thread.interrupt(), to stop a script