dir setup