Better install script, security improvement