[scripts][s]: update and modify analysis scripts plus add comments to headings.sh script.