added save_images option
(#343)