Modified deploy.sh to work with new snap-deploy