Removed unnecessay catools detection code