add buffer component calc script