updated the standard-build plugin to the new event system