Fixes to parmacy billing script