Create advd.sh