changes to the tanach re-versioning script