check for header and append publisher script separately--faster time