Added directory flag