Added some command line knobs. Good grief it took forever due to lack of documentation.