Uptime script from Palli.