changed the way of downloading user queries
merge