Editing the index file for p1