add snap-xxx.sh.