updated to final version of plugins 4.0