Updated index file to use appropriate paths;