script scanner and pause and stop scripts