Checking command line arguments