changes to call Python stepper from device.js