updated script to have cumululative drug_dispensed quantity