Modifed code to read surveys in batch sizes of 100, instead of using 'all'