Add raw-text flag

Pass checkHeader farther along