made the handleplugin actually do stuff