tidy up index.
add analytics