adjustments for new scripts