[CB-4268] Add --device and proper error exit code to run script

- This is the minimum change required to work within CLI.
- Issues will be opened to present better error messages when the script is invoked from CLI.
- The end goal is to have automatic device discovery.

@jeffheifetz