add support for save path to be distinct from source path of image