Added flame statistics support