move resources to plugins