added root detection library