move plugs into separate file