Updating these functions which were written for the original schema.
I had a few missing 'added dates', so I used this script to copy the metadata times to them.