Adding script and support for generating snapshots for SEO.