added query file to pull images