normalize_xls command and some templates changes