changes to index file to correctly link