Tweaks to export_xls