Change table header according to namelist