some fixes in gh-pages script