Improve the header script by rewriting it so that it is fully automated with a single command. It now updates the included version file as well as the header.