changed: Cosmetics
fixed: uninstall cannot source environment
changed: Improve some legacy code