Got queries working!