Error messages are now printed to stderr on failure