Add quick and dirty code to handle cmd from network (smartphones)