Added dropbox logic