give more informative error messages if sudo was not found or can't be run