Added the auto regenerate flag.
Changes
Made a few clean ups to the index.
Resolved line ending issue.
Merge branch 'master' into gh-pages