Can I specify random logos?

Hi,

This is exactly what I need! Is the second part required? Also where does the first part get put exactly?

Best,
Michael