init plugin without civicrm hook