Added script for dynamic header/image carousel/sub-pages (why are these all one script?)