Minor tweak to the mari actions hook