Add option to discard output