Fix script formatting