Changed function call
Fixed IR scan