Replaced code in index page