move command line options up, fix typo