Fix script output.
Fix error output.