Fix MANPATH
Add processing function