add redirect to index file