Code

Added argc checks before attempting to access argv[]