made the pause return focus to other weiting scripts