- Add a missing space for styling - Replace legacy "\`...\`" with `$(...)` - Quote variable to prevent word splitting - Use builtin `command -v` instead of non-standard `which` - Add two missing `>&2` redirection for error/warning message