extract plugins to config