Use which to check dependencies