Moved health check to the plugin main file