Please update the code so that the error message goes to *stderr*.