Updated config to handle default index page