changes to output format\n changes to argument parsing