Added gate cooldown and tempsweep