function genpwd has now 2 parameters (PWD_LEN and COUNT)
included an update script for easy updating