plugin updated for v4.x
Merge pull request #1 from shalotelli/4.x

plugin updated for v4.x