refactor random_image_puller for many potential images, cleaner code