added pluginhook etc