Thanks for adding the set!
Here's some extra explanations as well:
Sometimes Substituting first before using Cotton Guard is the better choice, if you outspeed a Pokemon that typically runs Toxic or T-Wave, you should get the Sub out to avoid it, that's a free Sub if you pulled off the read...