Fix health check script