modifies index and fixes some styles