Fixed missing updates from HOF3.template and changed files' modes.