updated code to put the output addresses in the excel sheet
updated code to output more info in excel sheet