capture line num and modify header names
renamed and cleaned up denormalize script