add more checks to rax-deploy.sh