made the dropbox session slightly smarter
pep8 compliance