Use global as root if available (for node)