Added handling of invalid jobs name passed from the command line