adds index selection functions
adds animation_options, format_animation_options
adds animation in visualize_images