Updated to work with remote sensors over xbee with instance labeling