Add dir option to add.