Updated gmock script