Fixed script formatting