Addopt path and add line check.