Added checks on expected envvars in deploy script.