setup na-mr-run-aux so it uses hooks for waiting terminal exit