added command-line flag parameters to modify output...