Fix uptime script