attempting to modify script to print extra spaces between data values