accomodate different header offsets
Merge pull request #501 from ascott1/header-design

accomodate different header offsets