Running Gateway Scripts Query

See this topic: