Script that collects all device data before sending it to the ping server