be more defensive with deploys and make sure we're running on master