minor modifications to the plugin define

- replace title with name var
- add globalpath definition for all exec commands