Add uptime checking