calculate.sh