add actions before & after trail setup, rename main plugin action