updated formatting to script