Scripts now are killed on pause to prevent running forever