Modified parameter for soring to sort by name
Made adjustment to count variable to try and download all records
Removed old debug code