made map root directory configurable