Corrected script formatting