Fixed bug where SaveOutput command line flag is overwritten.