added functions.sh; genpasswd