Refining scripts.