updated the script to allow intial dispensation of CPT to be saved correctly