Fixed. Now reverses polarity but works properly