Slight modification to Index file