Update dump command to dump a lot more information.
Update the driver script to export TERMOUT correctly.