Fixed the error where in the header was contents.
Included first corrections from Ernesto.