script formatting