Small fix
Added IR inspection, fixed output handling