Laying groundwork for accepting dirs