Changed echos to redirect to STDERR.