add argv error handler and usage instructions