This plugin stopped working when we moved to 3.x and needs a total rewrite