Update MainScript.txt

Added More Checks for Class.