Finally gets gh-pages working correctly.