added command line parameters for which sort and merge to use and also what threshold settings to use