added getaddr.sh