fixing path issues in config and uninstall scripts.