Automating install

Final changes unless I want to update the tests to include newly found issues.