Scripts corrected