fix (again) triggering of rec setup/cleanup hook scripts