correcting and linting scripts

prepare-commit-msg.sh: modular replace_tag

prepare-commit-msg.sh: correcting after lint check

corrected source commands

more lint check corrections

should be the last bit of lint checks