ExecuteScript method now returns the script result