Add support for resume/suspend of the script runner