add option to retrieve plots or accessions.