add device and host directories