wip: refactored install script