I was going to dismiss my last post since I have got the thing working now.
Purely a typo / wrong paste.
I was pasting the script BEFORE the ‘ in the line echo ‘</head> instead of AFTER the ‘
i.e. “just before the </head> tag as you clearly state. I shall write 100 lines:
“I must read the instructions carefully: echo <THESCRIPT>'</head> is wrong, echo ‘<THESCRIPT></head> is right”