Version that uses SPIDMD and Bridge

Using Bridge rather than a file to communication with the Python script
seems to be more robust.