some script formatting