added support for both dropbox and google storage