added dropbox support
only save images onto dropbox when on heroku