Fix portability issue. Refactor. Fix install URL.