replace different shell plugins with one lua plugin