changed script formatting