less cludge way of branch selection, and update for update site index.html