Update bashpwdm.sh

other small fixes