rix: Properly handle multiple invocations