Update for when Wonderflux v2.0+ detected

No need to use this if using Wonderflux 2.0 or above - it's now been included in Wonderflux core code.