restore pause in script node