fixed indent
added chpwd hook