moved system health check to tasks