Add background images and function to loop through them