change the circular buffer and snapshot command structure, to adhere to the array_cmd perl module written by John Hallam