Modify for capture device type, send this to python script file