ims_to_seq constructs a sequence out of the list of images.
Example: ims_to_seq {rivl_image1 rivl_image2 rivl_image16 rivl_image17}