Fixed #2 added dir option.