Fixed more bugs with AI server installation and de-installation