Code

improved error handling in the argv parser