added print statements to diagnose dropbox upload