Refactor base directory detection
Add prefer bash mode
Refactor setup base directory
Extract showSSHInfo
Refactor activate
remove unused script