integrating gh-pages code