Added a simpler version of ExecQuery