Added refr option
Refactored IR inspector
Updated IR with refr option