added ability to run the shell with an external serial component.