Added options to save images.