add error checking for count of shell args