generated XLSX file now has current date. Also callback only called when it is defined.