Rewrite the maintainers and reviewers logic