more informative output
write stderr before stdout in email
add a flag to ignore standard error in computing success or failure