added script to convert nested lists to csv