adds back local saving of images