be more defensive about no arguments being passed in at the command line