Changed which to command for more accurate results.