Adds gen query
Merge branch 'master' of https://github.com/edu-iglesias/HAGI