Added -dr foo (reads from dir foo) option