Added table check for smoother deployment.