for gh-pages: main functionality