Updated MainClass check