Update gh-pages sample generation
Add one to i