added heading and other shebangs to template