Update script to generate site to always reset to the head of the origin revision