Directory var

added directory var on DOC to avoid errors