Rough draft of the new image pack function