After toiling with the plotting scripts for the past two days, it now works! Technically I still have to update the daily and monthly scripts, but I know exactly what I have to change. It was a combination of old functions and me mis-naming a field in my database. Oops…
-Will