refactoring lnpm.sh versioning precedence