creating download query -- takes pictures