Fix missing DIR variable