only run if dti dir exists!