updating for outputting component and skin headers correctly