Adding root check and firmware version output