added catch for no args on command line