adding Dropbox support and environment variables