Add order for images in routines