Script adjustments