[YMK] decouple global_mod from commands/command_*.py