Cookies can be loaded after the CSV file has been opened
Replace debug statement with log statement