make director ip configurable