variable typo, $BACKUPDIR > $DIR