Replace path scan