Support DIR variable