improvement for plugin

allow user to change args