Updated version so that it cleans conf after watching a replay