Minor updates to the xls script