Fixed root path in CLI mode again