WIND changes

Changes to apply effects function