Updated the calculator command to use a more stable API