Fix script task.