[TASK] Use `which` to resolve commands