WIP: save image when finished