Update xs-snapback.sh

I add some new feature to this script.