adding dir to inventory