Load gh-pages if available, otherwise load master, now actually working