uptime helper script