Tweaked.
Stopped printing distance ref column.  Switched dist and beamsize locations in table.  Commented out source conversion, since I created a new column in the spreadsheet that has exactly what I want to print in the table.