add deleted function FuncWriteSetEnvToFileAndSet back
fix wrong rm commands in uninstall-alternative
updated