Added Health Check code and connected it.