Adjusting scripts