Updated index and changed permissions