fixes hugo in script