Update attach.sh