ENH: Corrected path to the main queries for different installation scenarios