Added check for correct number of command line parameters