added some necessary code for further working with Dropbox