configuring dir