Achieving a high-quality script