mods for beta 4 and added repeat comment