Adds the change password directory function
Fixes the non-parameter part of the cpd function
Moves functions, aliases, etc... up in the file