Updated Root Checker code