add backupdir setting