Update hd2.sh