Replace VerifyScript with CScriptCheck

CScriptCheck is a closure representing a script check.