Definitions of rejig:

  • verb:   re-equip a factory or plant