Extract new dir directive