Adding dir opt