Bugfixed install script