Change team commands to accept global flags.