Updated plugin to use proper params

params was not laid out as expected. Will have to update test to match.