Update advd.sh