Fix tmp install/uninstall scripts