Realized problem was the script was called twice, once in deploy and
once in travis.yml.  Moving out of deploy.