add calculating script