added support to save images to dropbox