stderr should go to stderr via console.error