client script for sending stats