Correct resume/suspend script.