replacing REBOOT with FULLREBOOT if ProxyState<>0 to make sure main.py
will start