updated automated deployment so that it checks for both V2 and V3, fixing typo.