draft of uptime plugin