Improved interrupt handling, paralleling repeat script