add calc.php and fixup card_recommendation.php