Added r and v parameters to facilitate switching branches.