Modified to use xlsx excel spreadsheet input files