fixed argument passing for --configdir arg; added --help argument;