script sets up a versions table for replicated data sets with vYYYYMMDD version numbers