How to add a different texture to each face of a cube. through script?

HI all, for my app i am hoping to pull images from a database and place them on a cube. I will have 6 images one on each face of the cube. The problem is I can only add a image to the whole cube not just one face. I tried to do 6 planes and 6 quads but they are kinda glitchy and some of the faces aren’t visible at some angles. I read somewhere about doing verticie and a atlas map? i cant seem to find that source and im not sure if that would work, because i will be dynamically adding the images. Is there any way to add images to each face through script that way I can set the link( WWW(“”).texture; ) to a texture and add the texture to each face of the cube? Thank you for reading all of this I know it is long!

This has been asked and answered already: