Errors now cause termination in batch mode