Check for root once at startup