Restart device and update existing python file in RPi

Sure, I’m looking into now, Looks different way to execute\deploy this to a device.