moves init to plugins loaded