Restart device and update existing python file in RPi

@oleorhagen Any idea on this ?