Fixed an issue in ExecuteScript.