Added dropbox wrapper to detect errors