added init for plugins