add calculation script