bugfix and modified setting dst dir and dropbox dir