Including queries in page