modified path extensions.bc in calc.sh