Added support for tax calculation and storing the calculated value in im_costs for quick access