Use more shell builtins
Use more shell builtins in path management

Also, rename things.