Added check to make sure that we pass a name on the command line.