updates to strip out the gist headers