Fix concat duplication and add customizable header