print to stderr instead of stdout for error messages