Implement run_plugins