Made uninstall and install postscript a bit smarter