made directories configurable