Added devnum to restart listener