labast/scripts/calc.lb