script adjustments