Use utf-8 instead of UTF-8, as Emacs does not recognize the latter.  Sigh!
Cosmetic: no space after > in shell commands.
l1, u8: Use type -p instead of type to check existence of program.