added resnap.sh