Support passing multiple versions

Change-Id: I5aae200f8e49e1f9f53bbf53ceba1551854d013e