updated index page to support demo context