rework lnpm.sh