finish dropbox setup with if statement