Added support for specifying a specific device id in the python command line.