Stand-alone scripts for extracting header and citations