added support to send data to remote aggregator