Change how random_image works