Added a tool to generate performance queries - at least some of them