Adding a script that validates the DB refs of a collection