health check and installation script