Added configurable paths for main directories