Added support for runOnce from Plugin and Service