init only running as a plugin