Alternate between image_stim and text_stim

If you want to shuffle 20 images and 20 words independently, then I would recommend looking at my independent randomisation online demo.

You could then have an image routine drawing from the spreadsheet in the loop and a word routine drawing from the preloaded list.