add proper index file