Save all queries