Forgot the ";" after the "unset CDPATH" expr in directory calculation