Preemptive wakeup of sleeping scripts
Revert "Preemptive wakeup of sleeping scripts"

This reverts commit be1238aa8b0393873c538891d4b7f27d772625cc.
Correct previous commit for preemptive wakeup