Add 404 code to index