fixed example generation script
Merge remote-tracking branch 'origin/master' into gh-pages
built demo