Update sample configs to include throughput
Fix an index out of range error.